<%-- 
    Document   : updateLink
    Created on : 8/08/2014, 04:56:47 PM
    Author     : eocandos
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Update</title>
    </head>
    <body>
        <h3>Choise Link to Delete:</h3>
        <form action="DB" method="post">
            Table<input type="text" name="table" size="10" value="Table2"/>
            Id<input type="text" name="id" size="1" value="5"/>
            <input type="submit" value="Search" name="clicked"/>
        </form>

        <h3>Update</h3>
        <form action="DB" method="post">
            <center><table border="1">
                    <tr>
                        <td>Name</td><td><input type="text" name="name" size="38" value="${bean.name}"></td>
                    </tr>
                    <tr>
                        <td>Url</td><td><input type="text" name="url" size="38" value="${bean.url}"></td>
                    </tr>
                    <tr>
                        <td>Position</td><td><input type="text" name="pos" size="38" value="${bean.date}"></td>
                    </tr>
                    <tr>
                        <td>Tags</td><td><input type="text" name="tags" size="38" value="${bean.pos}"></td>
                    </tr>
                    <tr>
                        <td>Description</td>
                        <td>
                            <textarea rows="4" cols="30" name="desc">${bean.des}</textarea>                                               
                        </td>
                    </tr>
                    <tr><td><input type="submit" value="Update" name="clicked"></td></tr> 
                </table>   </center> <br>
        </form>

    </body>
</html>
